package com.lmq.service.impl;

import com.alibaba.fastjson.JSONObject;
import com.lmq.service.BotService;
import com.lmq.service.impl.utils.BotPool;
import org.springframework.stereotype.Service;

@Service
public class BotServiceImpl implements BotService {

    public final static BotPool botPool = new BotPool();
    @Override
    public String addBot(Integer userId, String botCode, String input) {

        botPool.addBot(userId, botCode, input);
        return "addBot success";
    }
}
